This function can be used to hide the virtual keyboard on the device running the game. Calling this function will generate a System Asynchronous Event, in which the async_load DS map will be populated with the following key/value pairs:
- "event_type" - this will be "virtual keyboard status" when triggered by virtual keyboard functions.
- "screen_height" - the height of the virtual keyboard (in pixels). This will be 0 if the keyboard is invisible.
- "keyboard_status" - the current status of the keyboard, returned as one of the following strings:
- "hiding"
- "hidden"
- "showing"
- "visible"
keyboard_virtual_hide();
N/A
if input == true
{
input = false;
keyboard_virtual_hide();
}
The above code will hide the OS virtual keyboard if the given variable is not set to false.